<?php
class Admin_UserController extends Zendvn_Controller_Action{
	
	private $_arrParam;
	private $_mainAction;
	
	public function init(){
		$this->loadTemplate(TEMPLATE_PATH .'/admin');
        
		$this->_arrParam = $this->_request->getParams();
		$this->_mainAction = $this->_arrParam['module'] . '/' . $this->_arrParam['controller']. '/index';
		$this->view->arrParam = $this->_arrParam;
	}
	
	public function indexAction(){
        $this->_helper->viewRenderer->setNoRender();
		$this->_redirect($this->_arrParam['module'] . '/' . $this->_arrParam['controller']. '/list');
	}
    public function listAction(){
        $tblUser = new Model_Table_User();
        $this->view->listUser = $tblUser->allUser();
    }
	public function addAction(){		
			
	}
	public function deleteAction(){
		
	}
	public function editAction(){
		
	}
	public function statusAction(){
		
	}
}